package com.raycloud.erp.omll.data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.raycloud.erp.omll.data.entity.MulPlatformUser;
import com.raycloud.erp.omll.data.entity.dto.MulPlatformUserDTO;
import com.raycloud.erp.omll.data.entity.vo.OmallShopResVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 平台店铺信息表 Mapper 接口
 * </p>
 *
 * @author 枫伦
 * @since 2021-01-05
 */
@Repository
public interface MulPlatformUserMapper extends BaseMapper<MulPlatformUser> {

    List<MulPlatformUser> getAll();

    /***
     * @DESCRIPTION: 获取店铺信息
     * @author 枫伦
     * @params: [mulPlatformUserDTO]
     * @return: com.raycloud.erp.omll.data.entity.vo.OmallShopResVO
     * @Date: 2021/1/13 3:25 下午
     * @Modified By:  
     */
    OmallShopResVO getShopInfo(@Param("userDTO") MulPlatformUserDTO userDTO);

    Boolean authCheck(@Param("userDTO") MulPlatformUserDTO userDTO);

}
